\hypertarget{classsock_1_1net_1_1_net_event_handler}{}\section{sock\+:\+:net\+:\+:Net\+Event\+Handler Class Reference}
\label{classsock_1_1net_1_1_net_event_handler}\index{sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}}


网络事件处理器  




{\ttfamily \#include $<$net\+\_\+event\+\_\+handler.\+h$>$}

Inheritance diagram for sock\+:\+:net\+:\+:Net\+Event\+Handler\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classsock_1_1net_1_1_net_event_handler}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classsock_1_1net_1_1_net_event_handler_acd0317842b7f54784759c09f41bdffd3}{Net\+Event\+Handler} (void)
\item 
virtual \hyperlink{classsock_1_1net_1_1_net_event_handler_a502d2c94a9eb4c3ab1586fb5b22fbe12}{$\sim$\+Net\+Event\+Handler} (void)
\item 
virtual void \hyperlink{classsock_1_1net_1_1_net_event_handler_a6fe4d2cffe11a7e21012eb29ed2f393d}{handle\+Input} (void)=0
\begin{DoxyCompactList}\small\item\em 处理网络输入 \end{DoxyCompactList}\item 
virtual void \hyperlink{classsock_1_1net_1_1_net_event_handler_a2a7887f74cac4207c80225e12ce91a43}{handle\+Output} (void)=0
\begin{DoxyCompactList}\small\item\em 处理网络输出 \end{DoxyCompactList}\item 
virtual void \hyperlink{classsock_1_1net_1_1_net_event_handler_aaae522780e3cbf9db5756be8589f9139}{handle\+Error} (void)=0
\begin{DoxyCompactList}\small\item\em 处理网络错误 \end{DoxyCompactList}\item 
virtual void \hyperlink{classsock_1_1net_1_1_net_event_handler_a27cc7b4bb1bdbe49694651630e446b05}{handle\+Close} (void)=0
\begin{DoxyCompactList}\small\item\em 处理关闭 \end{DoxyCompactList}\item 
virtual void \hyperlink{classsock_1_1net_1_1_net_event_handler_aa75f2bf4bf3bcd9a83d540aca5497619}{handle\+Heartbeat} (void)=0
\begin{DoxyCompactList}\small\item\em 处理心跳 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
网络事件处理器 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classsock_1_1net_1_1_net_event_handler_acd0317842b7f54784759c09f41bdffd3}{}\index{sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}!Net\+Event\+Handler@{Net\+Event\+Handler}}
\index{Net\+Event\+Handler@{Net\+Event\+Handler}!sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}}
\subsubsection[{Net\+Event\+Handler(void)}]{\setlength{\rightskip}{0pt plus 5cm}sock\+::net\+::\+Net\+Event\+Handler\+::\+Net\+Event\+Handler (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classsock_1_1net_1_1_net_event_handler_acd0317842b7f54784759c09f41bdffd3}
\hypertarget{classsock_1_1net_1_1_net_event_handler_a502d2c94a9eb4c3ab1586fb5b22fbe12}{}\index{sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}!````~Net\+Event\+Handler@{$\sim$\+Net\+Event\+Handler}}
\index{````~Net\+Event\+Handler@{$\sim$\+Net\+Event\+Handler}!sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}}
\subsubsection[{$\sim$\+Net\+Event\+Handler(void)}]{\setlength{\rightskip}{0pt plus 5cm}virtual sock\+::net\+::\+Net\+Event\+Handler\+::$\sim$\+Net\+Event\+Handler (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classsock_1_1net_1_1_net_event_handler_a502d2c94a9eb4c3ab1586fb5b22fbe12}


\subsection{Member Function Documentation}
\hypertarget{classsock_1_1net_1_1_net_event_handler_a27cc7b4bb1bdbe49694651630e446b05}{}\index{sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}!handle\+Close@{handle\+Close}}
\index{handle\+Close@{handle\+Close}!sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}}
\subsubsection[{handle\+Close(void)=0}]{\setlength{\rightskip}{0pt plus 5cm}virtual void sock\+::net\+::\+Net\+Event\+Handler\+::handle\+Close (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classsock_1_1net_1_1_net_event_handler_a27cc7b4bb1bdbe49694651630e446b05}


处理关闭 



Implemented in \hyperlink{classsock_1_1net_1_1_tcp_connection_ad5d67c0a60a1f2c9816e550e4f110e21}{sock\+::net\+::\+Tcp\+Connection}, and \hyperlink{classsock_1_1net_1_1_tcp_acceptor_aef1361f3392c7757cc0fc0a13b15163d}{sock\+::net\+::\+Tcp\+Acceptor}.

\hypertarget{classsock_1_1net_1_1_net_event_handler_aaae522780e3cbf9db5756be8589f9139}{}\index{sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}!handle\+Error@{handle\+Error}}
\index{handle\+Error@{handle\+Error}!sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}}
\subsubsection[{handle\+Error(void)=0}]{\setlength{\rightskip}{0pt plus 5cm}virtual void sock\+::net\+::\+Net\+Event\+Handler\+::handle\+Error (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classsock_1_1net_1_1_net_event_handler_aaae522780e3cbf9db5756be8589f9139}


处理网络错误 



Implemented in \hyperlink{classsock_1_1net_1_1_tcp_connection_ab177cdd1021f1452a8b49c0238ab5186}{sock\+::net\+::\+Tcp\+Connection}, and \hyperlink{classsock_1_1net_1_1_tcp_acceptor_aaff5bd626bb6e5a1ce1c972fb6faf593}{sock\+::net\+::\+Tcp\+Acceptor}.

\hypertarget{classsock_1_1net_1_1_net_event_handler_aa75f2bf4bf3bcd9a83d540aca5497619}{}\index{sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}!handle\+Heartbeat@{handle\+Heartbeat}}
\index{handle\+Heartbeat@{handle\+Heartbeat}!sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}}
\subsubsection[{handle\+Heartbeat(void)=0}]{\setlength{\rightskip}{0pt plus 5cm}virtual void sock\+::net\+::\+Net\+Event\+Handler\+::handle\+Heartbeat (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classsock_1_1net_1_1_net_event_handler_aa75f2bf4bf3bcd9a83d540aca5497619}


处理心跳 



Implemented in \hyperlink{classsock_1_1net_1_1_tcp_connection_a4da2739b37a3ded075a8f44a8e6ef519}{sock\+::net\+::\+Tcp\+Connection}, and \hyperlink{classsock_1_1net_1_1_tcp_acceptor_afd658b58966444f446dd9b1cf747a04c}{sock\+::net\+::\+Tcp\+Acceptor}.

\hypertarget{classsock_1_1net_1_1_net_event_handler_a6fe4d2cffe11a7e21012eb29ed2f393d}{}\index{sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}!handle\+Input@{handle\+Input}}
\index{handle\+Input@{handle\+Input}!sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}}
\subsubsection[{handle\+Input(void)=0}]{\setlength{\rightskip}{0pt plus 5cm}virtual void sock\+::net\+::\+Net\+Event\+Handler\+::handle\+Input (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classsock_1_1net_1_1_net_event_handler_a6fe4d2cffe11a7e21012eb29ed2f393d}


处理网络输入 



Implemented in \hyperlink{classsock_1_1net_1_1_tcp_connection_a7169d0396d8b3f9d3bc0bfa651c39f40}{sock\+::net\+::\+Tcp\+Connection}, and \hyperlink{classsock_1_1net_1_1_tcp_acceptor_ad93eec19093d98d84aaa7f74486373f7}{sock\+::net\+::\+Tcp\+Acceptor}.

\hypertarget{classsock_1_1net_1_1_net_event_handler_a2a7887f74cac4207c80225e12ce91a43}{}\index{sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}!handle\+Output@{handle\+Output}}
\index{handle\+Output@{handle\+Output}!sock\+::net\+::\+Net\+Event\+Handler@{sock\+::net\+::\+Net\+Event\+Handler}}
\subsubsection[{handle\+Output(void)=0}]{\setlength{\rightskip}{0pt plus 5cm}virtual void sock\+::net\+::\+Net\+Event\+Handler\+::handle\+Output (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classsock_1_1net_1_1_net_event_handler_a2a7887f74cac4207c80225e12ce91a43}


处理网络输出 



Implemented in \hyperlink{classsock_1_1net_1_1_tcp_connection_ada4e4dc8bcdb148eef20a2b479697bbf}{sock\+::net\+::\+Tcp\+Connection}, and \hyperlink{classsock_1_1net_1_1_tcp_acceptor_a8c313189b9166036e374750ddc64ea97}{sock\+::net\+::\+Tcp\+Acceptor}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
E\+:/git/sock/sock/net/\hyperlink{net__event__handler_8h}{net\+\_\+event\+\_\+handler.\+h}\end{DoxyCompactItemize}
